<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../css/shop.style.css" rel="stylesheet" />
<script type="text/javascript" src="../js/jquery-1.8.2.js"></script>
<SCRIPT type="text/javascript">
	$(document).ready(function() {
		$("#btnCancle").click(function() {
			var url = "admin/list.htm";
			$(location).attr('href', url);
		});
	});
</SCRIPT>
</head>
<body>
	<table>
		<tr>
			<td></td>
		</tr>
		<tr>
			<td></td>
			<td>
				<form action="admin/write.htm" method="post" enctype="multipart/form-data">
					<table align="left">
						<tr align="left">
							<th>상품코드</th>
							<td><input type="text" name="prodCode" size="20" maxlength="20"></td>
						</tr>
						<tr align="left">
							<th>상품명</th>
							<td><input type="text" name="prodName" size="30" maxlength="30"></td>
						</tr>
						<tr align="left">
							<th>카테고리</th>
							<td><select name="prodCategory">
									<option value="outer">아우터</option>
									<option value="shirt">셔츠</option>
									<option value="tee">티</option>
									<option value="bottom">바지</option>
							</select></td>
						</tr>
						<tr align="left">
							<th>제조사</th>
							<td><select name="prodMaker">
									<option value="abecrombi">아베크롬비</option>
									<option value="polo">폴로</option>
									<option value="levise">리바이스</option>
									<option value="market">시장</option>
							</select></td>
						</tr>
						<tr align="left">
							<th>원산지</th>
							<td><select name="prodCountry">
									<option value="korea">한국</option>
									<option value="tiwan">대만</option>
									<option value="usa">미국</option>
									<option value="japan">일본</option>
									<option value="china">중국</option>
							</select></td>
						</tr>
						<tr align="left">
							<th>상품설명</th>
							<td><textarea rows="5" cols="50" name="prodDesc"></textarea></td>
						</tr>
						<tr align="left">
							<th>입고가</th>
							<td><input type="text" name="prodInPrice" size="20" maxlength="20"></td>
						</tr>
						<tr align="left">
							<th>출고가</th>
							<td><input type="text" name="prodOutPrice" size="20" maxlength="20"></td>
						</tr>
						<tr align="left">
							<th>재고</th>
							<td><input type="text" name="prodStock" size="20" maxlength="20"></td>
						</tr>
						<tr align="left">
							<th>이미지</th>
							<td><input type="file" name="file"></td>
						</tr>
						<tr align="right">
							<td colspan="2"><input type="submit" value="등록"> <input type="button" id="btnCancle" value="취소"></td>
						</tr>
					</table>
				</form>
			</td>
		</tr>
	</table>
</body>
</html>